package com.woniuxy.redis.entity;/*
@author houguai
@create 2021-01-13 10:41
*/

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

//向reids中存放对象，对象需要实例化，所有类需要实现序列化接口
@Data
@Accessors(chain = true)
public class Student implements Serializable {

    private int sid;
    private String name;
    private String gender;


}
